package com.graden.background.service.sysrolemenu;

import com.baomidou.mybatisplus.extension.service.IService;
import com.graden.background.repository.sysmenu.entity.SysMenuNode;
import com.graden.background.repository.sysrolemenu.entity.SysRoleMenu;

import java.util.List;

/**
 * <p>
 * 角色菜单服务实现类
 * </p>
 *
 * @author zjf
 * @since 2019-03-26
 */
public interface ISysRoleMenuService extends IService<SysRoleMenu> {

	List<SysMenuNode> getRoleMenuTree(boolean isAdmin);

	void saveMenu(Integer roleId,Integer[] menuIds);
}
